package top.rainf.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author 星环
 * @date 2023/5/6 14:16:05
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Friend {
    private int id;
    private int userId;
    private int friendId;
    private String remarkName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;

    //dto
    private String name;
    private String avatarUrl;
    private int newMsgCnt;
    private String signature;

}
